package cn.ruituo.adv6;
//计算器
public class Caculator {
    @Log(before = "假发之前")
    public int add(int a,int b){
        return a+b;
    }
    @Log(before = "除法之前",after = "除法之后")
    public int div(int a,int b){
        return a/b;
    }
    public int mul(int a,int b){
        return a*b;
    }
    public int takeaway(int a,int b){
        return a-b;
    }
}
